{extend name='layout/app' /}

{block name='css'}
<link rel="stylesheet" href="__STATIC__/css/person.css">
{/block}

{block name='content'}
<div id="app">
    <div class="nav">
        <i class="el-icon-arrow-left icon_left" @click="back"></i>
        <div>账户与安全</div>
        <i class="iconfont icon-home icon_right" @click="home"></i>
    </div>
    
    <div class="person-info" style="margin-top: 41px;">
        <div class="item">
            <a href="/index/login/forgetpwd">
                <i class="iconfont icon-lock"></i>
                <span>登录密码</span>
                <i class="el-icon-arrow-right"></i>
            </a>
        </div>
        <div class="item">
            <a href="paypwd.html">
                <i class="iconfont icon-lock"></i>
                <span>支付密码</span>
                <i class="el-icon-arrow-right"></i>
            </a>
        </div>

    </div>
</div>
{/block}

{block name='js'}
<script>
    var that

    new Vue({
        el:'#app',
        data: {

        },
        mounted() {
            that = this  //生成vue副本
        },
        methods: {
            back() {
                window.history.go(-1)
            },
            home() {
                location.href = '/'
            }
        }
    });
</script>
{/block}